﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true" CodeBehind="home.aspx.cs" Inherits="comix.home" ValidateRequest="false" %>


<%@ Register src="vitrinacontroll.ascx" tagname="vitrinacontroll" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" href="fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
    <script type="text/javascript">
        $(document).ready(function() {

        $(".infobut").fancybox({
                'width': 400,
                'height': 460,
                'autoScale': false,
                'transitionIn': 'none',
                'transitionOut': 'none',
                'padding': 0,
                'margin':0,
                'type': 'iframe'
            });
        });

   
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

      <div id="downbar">
  <asp:Label ID="lbl_header" runat="server" Text="Label" CssClass="tableHeaderLabel" ></asp:Label>
  </div>  

   <div style="position:relative;top:20px">
    <uc1:vitrinacontroll ID="vitrinacontroll1" runat="server" />
   </div>

   


    <asp:SqlDataSource ID="BooksDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:mainconectionstring %>">
        
            </asp:SqlDataSource>
    <asp:SqlDataSource ID="categoriesDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:mainconectionstring %>" 
        SelectCommand="SELECT cat_id, cat_name FROM CATEGORIES WHERE (cat_deleted = 0) ORDER BY cat_name">
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="authorsDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:mainconectionstring %>" 
        SelectCommand="SELECT aut_id, aut_firstname + ' ' + aut_lastname AS aut_name FROM AUTHORS WHERE (aut_deleted = 0) ORDER BY aut_lastname, aut_firstname">
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="publishersDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:mainconectionstring %>" 
        SelectCommand="SELECT pub_id, pub_name FROM PUBLISHERS WHERE (pub_deleted = 0) ORDER BY pub_name">
    </asp:SqlDataSource>
    
    <asp:SqlDataSource ID="seriesDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:mainconectionstring %>" 
        SelectCommand="SELECT ser_id, ser_name FROM SERIES WHERE ser_deleted =0 ORDER BY ser_name">
    </asp:SqlDataSource>
</asp:Content>


